package com.yaoran.userauth.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@ApiModel(value = "Application",description = "应用信息描述")
@Data
@ToString(callSuper = true)
public class Application {
    @ApiModelProperty(value = "主键")
    private int applicationId;

    @ApiModelProperty(value = "应用名称")
    private String name;

    @ApiModelProperty(value = "机构id")
    private int organizationId;

    @ApiModelProperty(value = "应用首页URL")
    private String url;

    @ApiModelProperty(value = "应用编码")
    private String code;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "修改者")
    private String updateBy;
}
